-
Notifications
You must be signed in to change notification settings - Fork 5
feat: utils - re-export @polkadot/util as dotUtils #43
Conversation
core/providers/temp.test.ts
Outdated
@@ -1,5 +0,0 @@ | |||
import { assert } from 'https://deno.land/[email protected]/testing/asserts.ts'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DoubleOTheven hope the removal is fine here
core/utils/mod.ts
Outdated
@@ -3,3 +3,4 @@ export * from './contracts/mod.ts'; | |||
export * from './getExpiredItem.ts'; | |||
export * from './parseUnits.ts'; | |||
export * from './pseudoRandomId.ts'; | |||
export * from './units/mod.ts'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw mod.ts
approach in a different folder and followed up that.
@@ -14,7 +14,10 @@ interface RemoveContractEvent { | |||
|
|||
type Action = AddContractEvent | RemoveContractEvent; | |||
|
|||
export function contractEventReducer(state: ContractEvents, action: Action): ContractEvents { | |||
export function contractEventReducer( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there is a lot of formatting. Does your IDE have a different config for max character length, etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was just deno fmt
, should I revert this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted the change, if needed or if u want can create a separate PR with deno fmt
I just exported everything using the This is how you set up a new import path. e.g. And I export here |
Resolves #29